import { createRouter, createWebHashHistory } from 'vue-router';
import Home from '../views/home/Home.vue';
import Chat from '../views/chat/Chat.vue';
import Setting from '../views/setting/Setting.vue';

const routes = [
  { path: '/', component: Home },
  { path: '/chat', component: Chat },
  { path: '/setting', component: Setting },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router;